package com.hb.test

import com.hb.demo.complete
import com.hb.demo.test01
import com.hb.demo.test02
import io.reactivex.Observable
import java.util.concurrent.TimeUnit

fun main() {

    val start = System.currentTimeMillis()

//    val order3 = Order3()
//    order3.rxOrder(1L,2L);
    order(1L,2L)

//    Thread.sleep(1000)
    val end = System.currentTimeMillis()
    val toSeconds = TimeUnit.MILLISECONDS.toSeconds(end - start)
    println("耗时： $toSeconds s")
}